package com.zlb.boot.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MyProperties {

    @Value("${zlb.name}")
    private String name;

    public void  setName(String name){
        this.name=name;
    }

    public String getName() {
        return name;
    }
}
